home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / Programming / Misc / LK_V1.06.LHA / LK V1.06 / HELP / xhunk.hlp < prev    next >
Encoding:
INI File  |  1994-11-01  |  1.9 KB  |  53 lines

  1. [LANGUAGE english; PARENT keywords; PAGE 11-124]
  2. [C;6;B]        CLEARXCODE or CXC
  3.         CLEARXDATA or CXD
  4.         KEEPXDATA or KXD
  5.         XCODE or XC
  6.         XDATA or XD
  7.         XRELATIVEDATA or XRD
  8. [7]Default: no X hunk (hunks are extended)
  9. [J;1;N]
  10.   By testing the end of each hunk of code and/or data, lk will \
  11. try to delete zeroes at that point. Also creating an X hunk. This \
  12. means that, when loading the hunk, the data at that position \
  13. may or may not be zeroes; the hunk still has the correct \
  14. size in memory.
  15.   To ensure those data to be cleared you must use the \
  16. CLEARXCODE or CLEARXDATA. But this create an executable \
  17. which is valid only on machins having V37 or higher \
  18. (This is a mix of the ATTRIBUTES and the XHUNK commands.)
  19.  
  20.   The XRELATIVEDATA sub-command will create an XDATA only \
  21. with the relative data hunk. XDATA instruction override \
  22. the use of XRELATIVEDATA. This instruction is usuly more \
  23. powerful than the one of Slink because lk will re-order \
  24. data hunks to search for the best configuration.
  25.  
  26.   If an executable file does not run properly you may try to \
  27. run lk on that executable, without the XCODE/XDATA options. Any \
  28. hunk which was truncated will be restored.
  29.  
  30.   The KEEPXDATA instruction enables a link of executable files \
  31. with lk without a change to their near data hunk. This instruction \
  32. is not necessary when you link object files.
  33.  
  34.   All those instructions are only valid to produce executable files. \
  35. However, all can be used on executable files to reduce some of their \
  36. hunks.
  37.  
  38.   See also:
  39. [L;3][LINK attributes]            ATTRIBUTES
  40. [LINK tobss]                CODE2BSS
  41. [LINK tobss]                DATA2BSS
  42. [LINK frag]                FRAGBSS
  43. [LINK frag]                FRAGCODE
  44. [LINK frag]                FRAGDATA
  45. [LINK offset]                OFFSET
  46. [LINK small]                SMALLBSS
  47. [LINK small]                SMALLCODE
  48. [LINK small]                SMALLDATA
  49. [LINK single]                SINGLEBSS
  50. [LINK single]                SINGLECODE
  51. [LINK single]                SINGLEDATA
  52. [5; LINK about; GOTO address]        Become Registred
  53.